@(page: models.cms.PageDto)
@user = @{(page.getData().get("user")).asInstanceOf[models.core.user.UserDtoInfo]}

    <div id="header">
        <h1><a href="/" title="Wine Republik"><img src="@routes.Assets.at("images/logo-header.png")" width="158" height="68" border="0" alt="Wine Republik" /><span>Wine Republik</span></a></h1>
        <div id="recherche"><form action="" method="post"><div id="divtext"><input type="text" value="Rechercher un vin, une couleur, une région." name="motcle" id="motcle" onclick="this.value='';" /></div><div id="divsubmit"><input type="image" src="@routes.Assets.at("images/bouton-recherche.png")" name="submit" id="submit" alt="Rechercher" /></div></form></div>
        <div id="panier"><a href="#">Mon panier : 3 article(s) 59 €</a></div>
    </div>
    
    <div id="navigation">
        <ul>
            <li><a href="#" title="l’agora">l’agora</a></li>
            <li><a href="#" title="promo">promo</a></li>
            <li><a href="#" title="tous les vins">tous les vins</a></li>
            <li><a href="#" title="tous les vignerons">tous les vignerons</a></li>
            <li><a href="#" title="livraisons groupées">livraisons groupées</a></li>
        </ul>
        <div class="clear"></div>
        <div id="moncompte">
			@if(user != null){
			  @if(user.getPicture() != null){
				  <img src="@user.getPicture()" width="27" height="27" border="0" />    
			  } else {
				  <img src="@routes.Assets.at("upload/user/default-extrasmall.jpg")" width="27" height="27" border="0" />
			  }
        	<a href="#">@user.getLogin()</a>
        	<div id="bullemenutop">
            	<div id="bullemenubas">
                	<div id="bullemenucentre">
                        <a href="#" title="">mon profil</a><br />
                        <a href="#" title="">mes favoris</a><br />
                        <a href="#" title="">mes vins</a><br />
                        <a href="#" title="">ma communauté</a><br />
            			<a href="@routes.Authentication.logout()" title="">déconnexion</a><br />
			  		</div>
				</div>
			</div>
			} else {
			  <a href="@routes.Authentication.auth()">Identifiez vous</a>
			}
        </div>
    </div>  
